import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'isAssign'
})
export class IsAssignPipe implements PipeTransform {

  transform(value: boolean): string {
    return value ? '已派工' : '未派工';
  }

}
